/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.mahumLogs.utils;

/**
 *
 * @author Kalast
 */
public class SSHStatus {
    
    public static final SSHStatus ERROR_CONNECTION = new SSHStatus();
    public static final SSHStatus IN_WAIT = new SSHStatus();
    public static final SSHStatus CONNECTION_OK = new SSHStatus();
    
    static{
        ERROR_CONNECTION.setColor("red");
        ERROR_CONNECTION.setMessage("Erreur de connexion !");
        ERROR_CONNECTION.setId(-1);
        
        IN_WAIT.setColor("blue");
        IN_WAIT.setMessage("En attente d'une connexion...");
        IN_WAIT.setId(0);
        
        CONNECTION_OK.setMessage("Connexion ok.");
        CONNECTION_OK.setColor("green");
        CONNECTION_OK.setId(1);
    }
    
    private String message;
    private String color;
    private int id;

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }
}
